/**
 *	\file
 *	\brief stores all the possible compiling error a program can awake
 *
 * 	\date Sep 13, 2013
 * 	\author koldar
 *	\version 1.0
 */

#ifndef COMPILEERROR_H_
#define COMPILEERROR_H_

/**error awaken when someone associate to a label list an invalid modifier, like this:
 *
 * \code
 * 	package A,B,C; //good
 * 	public D,E; //good
 * 	static F; //bad!
 * \endcode
 *
 */
#define ERROR_SEM_01 "Illegal Modifier: only package or public allowed."
/**the exit value the compiler returns to the shell when ERROR_SEM_01 is thrown
 *
 */
#define ERROR_SEM_01_EV 1
/**error awaken when someone create two labels with the same name, like this:
 * \code
 * 	package A,B;
 * 	public B,C;
 * \endcode
 */
#define ERROR_SEM_02 "Label \"%s\" is already declared."
/**the exit value the compiler return to the shell when ERROR_SEM_02 is thrown
 *
 */
#define ERROR_SEM_02_EV 2

#endif /* COMPILEERROR_H_ */
